<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>支付成功</title>
	<meta name="author" content="XUE">
	<meta name="description" content="普济一城">
	<meta name="viewport" content="initial-scale=1,maximum-scale=1">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="transparent">
	<meta name="format-detection" content="telephone=no,email=no">
	<link rel="stylesheet" type="text/css" href="../../css/base.css">
	<link rel="stylesheet" type="text/css" href="../../css/product-order/paysuccess.css">
</head>
<body>
	<!-- head -->
	<div class="head">
		<p>支付成功</p>
		<p class="finish">完成</p>
	</div>
	<!-- main -->
	<div class="main">
		<div class="main-a">
			<div class="main-pic">
				<img src="../../img/d_zhifuchenggong.png">
			</div>
			<p class="zfcg">支付成功</p>
		</div>
		<p class="wxzf"><span class="zfzt">微信</span>支付：<span class="maney">¥180.00</span></p>
		<div class="ps_1">
			<p id="ckdd">查看订单</p>
			<p id="hdsy">回到首页</p>
		</div>
	</div>
	<!-- foot -->
	<div class="foot">
		<p><span class="wxts">温馨提示：</span>普济一城不会以订单异常、系统升级为由要求您点击任何网址链接进行退款操作。</p>
	</div>
</body>
<script type="text/javascript" src="../../js/zepto.min.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript">
	 $('#ckdd').on('click',function(){
	 	window.location.href = rootdomain +'html/order/my_order.html?status=2&from=html';
	 })
	 $('#hdsy').on('click',function(){
//	 	console.log(1111)
		gohome()
	 })

	
	var status = globalFun.GetQueryString("status");
	var money = globalFun.GetQueryString("money");
	money = localStorage.getItem("orderTotalPrice");
	
	$('.maney').html(money);
	if(status == 1){
		$('.zfzt').html('微信')
	} else if(status == 3){
		$('.zfzt').html('支付宝')
	}

//	var orderType = globalFun.GetQueryString("orderType");
	$('.finish').on('click',function(){
		
	})
	
		// 返回首页
	function gohome(){

    	var ua = navigator.userAgent.toLowerCase();
        if (/pjyc_i/.test(ua)) {
            setupWebViewJavascriptBridge(function(bridge){
                bridge.callHandler('jsTogohome',function(resp){});
              });
            } else if (/pujiyicheng/.test(ua)) {
                //var result = lase;
               window.stub.jsTogohome();//用接口stub, 通过调用内部类中的方法jsMethod给javas传回result。

         }
	}
</script>
</html>